﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using RacePlatformer;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;

namespace Dwarfs.Screens
{
    public class Screen
    {
        protected KeyboardState previousKeyboardState;
        public SpriteFont screenFont;
        public Texture2D screenBackground;
        protected MainGame maingame;
        public List<Screen> childs;
        public Screen parent;
        public String[] options;
        public Screen(MainGame maingame,Screen parent = null,List<Screen>childs = null)
        {
            this.maingame = maingame;
            this.parent = parent;
            this.childs = childs;
            LoadContent();
        }
        public virtual void UpdateMenu()
        {
        
        }
        public virtual void LoadContent(){
            screenFont = maingame.Content.Load<SpriteFont>("fonts/font");
        }
        public virtual void DrawScreen(GameTime gameTime, SpriteBatch batch)
        {
            batch.Draw(screenBackground, new Rectangle(0, 0, MainGame.SCREEN_WIDTH, MainGame.SCREEN_HEIGHT), Color.White);
        }
    }
}
